package com.ruoyi.project.product.info.domain;

import com.ruoyi.framework.web.domain.BaseEntity;
import com.ruoyi.project.product.series.domain.Series;
import com.ruoyi.project.product.size.domain.Size;
import com.ruoyi.project.product.style.domain.Style;

/**
 * @Auther: 高柯
 * @Date: 2020/4/16
 * @Description: com.ruoyi.project.product.info.domain
 * @version: 1.0
 */
public class Info extends BaseEntity {

    private Long infoId;
    private String infoName;
    private String picture;
    private String material;
    private String infoSort;

    private Long seriesId;
    private Long sizeId;
    private Long styleId;

    private Series series;
    private Size size;
    private Style style;

    public Info() {
    }

    public Info(Long infoId, String infoName, String picture, String material, String infoSort, Long seriesId, Long sizeId, Long styleId, Series series, Size size, Style style) {
        this.infoId = infoId;
        this.infoName = infoName;
        this.picture = picture;
        this.material = material;
        this.infoSort = infoSort;
        this.seriesId = seriesId;
        this.sizeId = sizeId;
        this.styleId = styleId;
        this.series = series;
        this.size = size;
        this.style = style;
    }

    public Long getInfoId() {
        return infoId;
    }

    public void setInfoId(Long infoId) {
        this.infoId = infoId;
    }

    public String getInfoName() {
        return infoName;
    }

    public void setInfoName(String infoName) {
        this.infoName = infoName;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getMaterial() {
        return material;
    }

    public void setMaterial(String material) {
        this.material = material;
    }

    public String getInfoSort() {
        return infoSort;
    }

    public void setInfoSort(String infoSort) {
        this.infoSort = infoSort;
    }

    public Long getSeriesId() {
        return seriesId;
    }

    public void setSeriesId(Long seriesId) {
        this.seriesId = seriesId;
    }

    public Long getSizeId() {
        return sizeId;
    }

    public void setSizeId(Long sizeId) {
        this.sizeId = sizeId;
    }

    public Long getStyleId() {
        return styleId;
    }

    public void setStyleId(Long styleId) {
        this.styleId = styleId;
    }

    public Series getSeries() {
        return series;
    }

    public void setSeries(Series series) {
        this.series = series;
    }

    public Size getSize() {
        return size;
    }

    public void setSize(Size size) {
        this.size = size;
    }

    public Style getStyle() {
        return style;
    }

    public void setStyle(Style style) {
        this.style = style;
    }

    @Override
    public String toString() {
        return "Info{" +
                "infoId=" + infoId +
                ", infoName='" + infoName + '\'' +
                ", picture='" + picture + '\'' +
                ", material='" + material + '\'' +
                ", infoSort='" + infoSort + '\'' +
                ", seriesId=" + seriesId +
                ", sizeId=" + sizeId +
                ", styleId=" + styleId +
                ", series=" + series +
                ", size=" + size +
                ", style=" + style +
                '}';
    }
}
